import 'package:flutter/material.dart';
import 'package:flutter_frame/app/components/toast_widget.dart';
import 'package:flutter_frame/app/modules/home/live/live_amin.dart';
import 'package:flutter_frame/router/app_pages.dart';
import 'package:get/get.dart';

class ProfileController extends GetxController {

  int index = 0;

  // 测试4
  // void test4() {
  //   Get.toNamed(AppRoutes.biometrics);
  // }

  // 测试5
  void signature() {
    Get.toNamed(AppRoutes.signature);
  }

  // 测试6
  void test6() {
    Get.offAllNamed(AppRoutes.authLogin);
  }

  void canvasRabbitWidget() {
    Get.toNamed(AppRoutes.canvasRabbitWidget);
  }

  // 测试
  cao() async {
    Navigator.push(Get.context!, MaterialPageRoute(builder: (context) => const LiveViewPage()));
  }



}

